package webTest.myTag.SimpleTag;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.SkipPageException;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import java.io.IOException;

/**
 * Created by IFT8 on 2015/3/18.
 */
public class SkipTag extends SimpleTagSupport{
    @Override
    public void doTag() throws JspException, IOException {
        //抛出跳过异常
        throw new SkipPageException();
    }
}
